package com.imooc.bilibili.service.impl;

import com.imooc.bilibili.dao.RoleElementRelationDao;
import com.imooc.bilibili.entity.RoleElementRelation;
import com.imooc.bilibili.service.RoleElementRelationService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service("authRoleElementService")
public class RoleElementRelationServiceImpl implements RoleElementRelationService {

    @Autowired
    private RoleElementRelationDao roleElementDao;

    @Override
    public List<RoleElementRelation> getRoleElementByRoleIds(List<Long> roleIdList) {
        return roleElementDao.getRoleElementByRoleIds(roleIdList);
    }
}
